package com.jjsj.mall.shop.service;

import com.jjsj.mall.shop.entity.YoshopUserReceipte;

import java.util.List;

/**
 * 用户发票Service接口
 *
 * @author www.joolun.com
 * @date 2022-10-24
 */
public interface IYoshopUserReceipteService {
    /**
     * 查询用户发票
     *
     * @param receipteId 用户发票ID
     * @return 用户发票
     */
    public YoshopUserReceipte selectYoshopUserReceipteById(String receipteId);

    /**
     * 查询用户发票列表
     *
     * @param yoshopUserReceipte 用户发票
     * @return 用户发票集合
     */
    public List<YoshopUserReceipte> selectYoshopUserReceipteList(YoshopUserReceipte yoshopUserReceipte);

    /**
     * 新增用户发票
     *
     * @param yoshopUserReceipte 用户发票
     * @return 结果
     */
    public int insertYoshopUserReceipte(YoshopUserReceipte yoshopUserReceipte);

    /**
     * 修改用户发票
     *
     * @param yoshopUserReceipte 用户发票
     * @return 结果
     */
    public int updateYoshopUserReceipte(YoshopUserReceipte yoshopUserReceipte);

    /**
     * 批量删除用户发票
     *
     * @param receipteIds 需要删除的用户发票ID
     * @return 结果
     */
    public int deleteYoshopUserReceipteByIds(String[] receipteIds);

    /**
     * 删除用户发票信息
     *
     * @param receipteId 用户发票ID
     * @return 结果
     */
    public int deleteYoshopUserReceipteById(String receipteId);
}
